\section{music::data\_\-miner Class Reference}
\label{classmusic_1_1data__miner}\index{music::data_miner@{music::data\_\-miner}}
this class provides a facade for the apriori-algorithm.  


{\tt \#include $<$data\_\-miner.h$>$}

\subsection*{Public Types}
\begin{CompactItemize}
\item 
typedef \bf{apriori::apriori\_\-alg}$<$ \bf{music::title\_\-dataset}, list $>$ \bf{my\_\-apriori}\label{classmusic_1_1data__miner_2c8ba06c491153bc90b67e19cea54018}

\item 
typedef my\_\-apriori::t\_\-itemset\_\-c::data\_\-ptr \bf{data\_\-ptr}\label{classmusic_1_1data__miner_765e700c8c0bd145d39e7525fdb6ee93}

\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\bf{data\_\-miner} (boost::shared\_\-ptr$<$ \bf{model::client} $>$ clt, boost::shared\_\-ptr$<$ \bf{model::model\_\-class} $>$ m)
\begin{CompactList}\small\item\em \doxyref{data\_\-miner}{p.}{classmusic_1_1data__miner} creates the object. \item\end{CompactList}\item 
\bf{$\sim$data\_\-miner} ()\label{classmusic_1_1data__miner_46c71c7466b34b39bdc62a41f08553b6}

\item 
void \bf{doit} ()\label{classmusic_1_1data__miner_5216ddf3294ab388ea887701336a2aa7}

\begin{CompactList}\small\item\em doit executes the apriori-algorithm. \item\end{CompactList}\item 
boost::shared\_\-ptr$<$ \bf{model::title} $>$ \bf{get\_\-result} ()
\begin{CompactList}\small\item\em get\_\-result returns the result of the algorithm. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
this class provides a facade for the apriori-algorithm. 



Definition at line 46 of file data\_\-miner.h.

\subsection{Constructor \& Destructor Documentation}
\index{music::data_miner@{music::data\_\-miner}!data_miner@{data\_\-miner}}
\index{data_miner@{data\_\-miner}!music::data_miner@{music::data\_\-miner}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}music::data\_\-miner::data\_\-miner (boost::shared\_\-ptr$<$ \bf{model::client} $>$ {\em clt}, boost::shared\_\-ptr$<$ \bf{model::model\_\-class} $>$ {\em m})\hspace{0.3cm}{\tt  [inline]}}\label{classmusic_1_1data__miner_b5eab9669e09c60b3400084008b94e12}


\doxyref{data\_\-miner}{p.}{classmusic_1_1data__miner} creates the object. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em clt}]is a shared\_\-ptr to the client which datas should be used for the algorithm. \item[{\em m}]is a shared\_\-ptr to the main-model-class. \end{description}
\end{Desc}


Definition at line 59 of file data\_\-miner.h.

\begin{Code}\begin{verbatim}61                 :_client(clt), _model(m){}
\end{verbatim}\end{Code}




\subsection{Member Function Documentation}
\index{music::data_miner@{music::data\_\-miner}!get_result@{get\_\-result}}
\index{get_result@{get\_\-result}!music::data_miner@{music::data\_\-miner}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}boost::shared\_\-ptr$<$\bf{model::title}$>$ music::data\_\-miner::get\_\-result ()\hspace{0.3cm}{\tt  [inline]}}\label{classmusic_1_1data__miner_4882cc40624619345252a98ee6ac8875}


get\_\-result returns the result of the algorithm. 

\begin{Desc}
\item[Returns:]a shared\_\-ptr to a title is returned. If the algorithm wasn't successfull an empty pointer is returned. \end{Desc}


Definition at line 74 of file data\_\-miner.h.

\begin{Code}\begin{verbatim}74 { return _result; }
\end{verbatim}\end{Code}




The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
music/data\_\-miner.h\item 
music/data\_\-miner.cpp\end{CompactItemize}
